package router

import (
	"360-cinema/api-getaway/basic/handler/api"
	"github.com/gin-gonic/gin"
)

func Router(r *gin.Engine) {

	r.POST("/sendSms", api.SendSms)
	r.POST("/register", api.Register)
	r.POST("/upload", api.Upload)
	r.POST("/createVideo", api.CreateVideo)
	r.POST("/videoStatus", api.VideoStatus)
	r.GET("/ListVideo", api.ListVideo)
	r.GET("/VideoList", api.VideoList)
	r.GET("/VideoShow", api.VideoShow)
	r.GET("/DramaList", api.ListDrama)
	r.POST("/CreateHistory", api.CreateHistory)
	r.GET("/ListHistory", api.ListHistory)
	r.POST("/VideoRd", api.VideoRd)
}
